package com.dxx.cloud.admin.module.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import org.hibernate.validator.constraints.NotEmpty;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author duh
 * @create 2018/12/28 14:10

 **/
@Schema(description = "批量完成还款请求体")
public class OrderRepayCompleteRequest {


    @Schema(description="订单id列表",example="1,2")
    @NotEmpty
    private List<Integer> ids;

    @Schema(description="商户主动扫码时，扫出的客户付款id")
    private String authCode;

    @Schema(description = "支付类型:1现金 2欠账 3银行卡 4其他 5存款 11门店微信二维码 12微信客户主扫 13微信客户被扫 14微信刷脸 21门店支付宝二维码 22支付宝客户扫商户 23支付宝商户扫客户 31易收宝客户扫商户 32易收宝商户扫客户",example = "1")
    @NotNull
    private Integer payType;

    @Schema(description="还款金额",example="100")
    private BigDecimal repayAccount;

    @Schema(description="修改人",example="admin")
    private String updater;

    @Schema(description="操作者",example="admin")
    private String operator;

    public List<Integer> getIds() {
        return ids;
    }

    public void setIds(List<Integer> ids) {
        this.ids = ids;
    }

    public String getAuthCode() {
        return authCode;
    }

    public void setAuthCode(String authCode) {
        this.authCode = authCode;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public String getUpdater() {
        return updater;
    }

    public void setUpdater(String updater) {
        this.updater = updater;
    }

    public BigDecimal getRepayAccount() {
        return repayAccount;
    }

    public void setRepayAccount(BigDecimal repayAccount) {
        this.repayAccount = repayAccount;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }
}
